package com.woniuxy.springbootmybatis.mapper;

import com.woniuxy.springbootmybatis.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author linke
 * @version 1.0
 * @className: UserMapper
 * @description: TODO 类描述
 * @date 2021/11/16 20:00
 */

@Mapper
public interface UserMapper {

    List<User> all();

    int add(@Param("u") User user);
}
